Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Page 1 of 2 1 2 >
Topic Options
#257400 - 31/05/2005 20:57 "HDA: Disk Error: Return_Intr" Message question
GeorgeU
new poster

Registered: 13/04/2005
Posts: 25
I was wondering if the above message means that there is a problem with the hard drive? I have installed Version 2.0 consumer image (not beta) and do not get the error message but when I install the latest Hijack (431) after every boot and when first accessing the Hard disk the error message appears. Oddly, it seems to play tracks OK regardless of the error. My player is a Mk 2a. Please advise me on what is causing this error message.

Top
#257401 - 31/05/2005 23:23 Re: "HDA: Disk Error: Return_Intr" Message question [Re: GeorgeU]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14478
Loc: Canada
The message probably actually says this: hda: disk error: read_intr

Attention to accuracy can be important when seeking help here.

This particular message is not a big deal unless you see it often. The Linux IDE driver (which I wrote) will retry the failed command. Dunno why it fails the first time for you though.

-ml

Top
#257402 - 01/06/2005 02:43 Re: "HDA: Disk Error: Return_Intr" Message question [Re: mlord]
JBjorgen
carpal tunnel

Registered: 19/01/2002
Posts: 3582
Loc: Columbus, OH
Quote:
...The Linux IDE driver (which I wrote)...


You gotta love a guy that speaks with authority
_________________________
~ John

Top
#257403 - 01/06/2005 04:58 Re: "HDA: Disk Error: Return_Intr" Message question [Re: mlord]
GeorgeU
new poster

Registered: 13/04/2005
Posts: 25
Oops! I apologise for mis-quoting the error message, I was trying to remember what the message was as the machine was not in front of me when I posted the original query. The error message does seem to be displayed whenever I select a different playlist and set it to play, which I guess means every time it makes an initial read of the disk, oddly though it doesn't seem to display the message when it reads each track in the playlist, just the initial read for the playlist. (Incidently it did this when I loaded Hijack version 426 as well, which was why I re-downloaded the ver 2.0 consumer image and reflashed the machine with it and then downloaded and installed Hijack 431, so I was surprised when it did it again.)

Top
#257404 - 01/06/2005 09:36 Re: "HDA: Disk Error: Return_Intr" Message question [Re: GeorgeU]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14478
Loc: Canada
Hijack displays the message, but the error is occuring even without Hijack installed -- you just don't get an on-screen message when using the stock v2 software. More information will be available on the serial port output regardless, which is where you should be looking now.

Top
#257405 - 02/06/2005 21:03 Re: "HDA: Disk Error: Return_Intr" Message question [Re: mlord]
GeorgeU
new poster

Registered: 13/04/2005
Posts: 25
I have included here the boot log from Hyperterminal as (I believe) was suggested to allow further diagnosis of the problem.

empeg-car bootstrap v1.02 20001106 ([email protected])
If there is anyone present who wants to upgrade the flash, let them speak now,
or forever hold their peace...it seems not. Let fly the Penguins of Linux!

e000 v1.04
Copying kernel...
Calling linux kernel...
Uncompressing Linux..................................... done, booting the kerne
l.
Linux version 2.2.17-rmk5-np17-empeg52-hijack-v431 ([email protected]) (g
2.95.3 20010315 (release)) #2 Tue May 24 19:50:51 EDT 2005
Processor: Intel StrongARM-1100 revision 11
Checking for extra DRAM:
c1000000: wrote ffffffff, read e91ba9f0
NetWinder Floating Point Emulator V0.94.1 (c) 1998 Corel Computer Corp.
empeg-car player (hardware revision 9, serial number 30102211) 16MB DRAM
Command line: mem=16m
Calibrating delay loop... 207.67 BogoMIPS
Memory: 15008k/16M available (984k code, 20k reserved, 368k data, 4k init)
Dentry hash table entries: 2048 (order 2, 16k)
Buffer cache hash table entries: 16384 (order 4, 64k)
Page cache hash table entries: 4096 (order 2, 16k)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
TCP: Hash tables configured (ehash 16384 bhash 16384)
IrDA (tm) Protocols for Linux-2.2 (Dag Brattli)
Starting kswapd v 1.5
SA1100 serial driver version 4.27 with no serial options enabled
ttyS00 at 0xf8010000 (irq = 15) is a SA110
ttyS01 at 0xf8050000 (irq = 17) is a SA1100 UART
ttyS02 at 0xf8030000 (irq = 16) is a SA1100 UART
Signature is 636f6972 'rioc'
Tuner: loopback=0, ID=-1
Scheduling custom logo.
empeg display initialised.
empeg dsp audio initialised
empeg dsp mixer initialised
empeg dsp initialised
empeg audio-in initialised, CS4231A revision a0
empeg remote control/panel button initialised.
empeg usb initialised, PDIUSBD12 id 1012
empeg state support initialised 0089/88c1 (save to d0005400).
empeg RDS driver initialised
empeg power-pic driver initialised (first boot)
RAM disk driver initialized: 16 RAM disks of 4096K size
empeg single channel IDE
Probing primary interface...
hda: IBM-DJSA-220, ATA DISK drive
ide0 at 0x000-0x007,0x038 on irq 6
hda: IBM-DJSA-220, 19077MB w/1874kB Cache, CHS=38760/16/63
empeg-flash driver initialized
smc chip id/revision 0x3349
smc9194.c:v0.12 03/06/96 by Erik Stahlman ([email protected])

SMC9194: SMC91C94(r:9) at 0x4008000 IRQ:7 INTF:TP MEM:6144b MAC 00:02:d7:26:08:a
3
Partition check:
hda: hda1 < hda5 hda6 > hda2 hda3 hda4
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 320 blocks [1 disk] into ram disk... done.
VFS: Mounted root (ext2 filesystem).
empeg-pump v0.03 (19980601)
Press Ctrl-A to enter pump...hange_root: old root has d_count=1
Trying to unmount old root ... okay
Freeing unused kernel memory: 4k initTimezone: Australia/Adelaide
Hijack: intercepting config.ini

hijack: removed menu entry: "Serial Port Assignment"
khttpd: listening on port 80
kftpd: listening on port 21
player.cpp : 579:empeg-car 3.00-alpha8 2004/07/07.
hda: read_intr: status=0x59
hda: read_intr: error=0x40
end_request: I/O error, dev 03:03 (hda), sector 0
Prolux 4 empeg car - 2.1490 Jul 7 2004
Vcb: 0x4073a000
hda: read_intr: status=0x59
hda: read_intr: error=0x40
end_request: I/O error, dev 03:03 (hda), sector 0

Top
#257406 - 02/06/2005 22:47 Re: "HDA: Disk Error: Return_Intr" Message question [Re: GeorgeU]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14478
Loc: Canada
Quote:
hda: read_intr: status=0x59
hda: read_intr: error=0x40
end_request: I/O error, dev 03:03 (hda), sector 0


Ouch. Bad first sector on partition #3.

EDIT: /dev/hda3 (03:03) is the dynamic data partition. Try this to "fix" the error:
dd if=/dev/zero of=/dev/hda3 bs=512 count=1


That should fix it.

Cheers


Edited by mlord (02/06/2005 22:55)

Top
#257407 - 04/06/2005 03:23 Re: "HDA: Disk Error: Return_Intr" Message question [Re: mlord]
GeorgeU
new poster

Registered: 13/04/2005
Posts: 25
Well, Mark, I tried your suggestion, (thankyou heaps) but I think it didn't work (see the log below) and so I guess I am faced with having to buy a new drive. No really big deal I guess, since I always planned to put a much bigger drive in the Empeg anyway. Just means the need is a bit more urgent now. Thanks again for your help, I know you must be a very busy man, so that makes the time you give here so much more appreciated.

(This is the log while trying to fix the problem)
empeg:/empeg/bin# dd if=/dev/zero of=/dev/hda3 bs=512 count=1
hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hda: read_intr: error=0x40 { UncorrectableError }, LBAsect=133057, sector=0
end_request: I/O error, dev 03:03 (hda), sector 0
dd: /dev/hda3: Input/output error
1+0 records in
0+0 records out
empeg:/empeg/bin#

(After next boot - this part of the log seems to confirm it)
player.cpp : 385:empeg-car 2.00 2003/04/01.
hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hda: read_intr: error=0x40 { UncorrectableError }, LBAsect=133057, sector=0
end_request: I/O error, dev 03:03 (hda), sector 0
hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hda: read_intr: error=0x40 { UncorrectableError }, LBAsect=133057, sector=0
end_request: I/O error, dev 03:03 (hda), sector 0
Prolux 4 empeg car - 2.1434 Mar 26 2003
Vcb: 0x4086d000
hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hda: read_intr: error=0x40 { UncorrectableError }, LBAsect=133057, sector=0
end_request: I/O error, dev 03:03 (hda), sector 0

Top
#257408 - 05/06/2005 15:31 Re: "HDA: Disk Error: Return_Intr" Message question [Re: GeorgeU]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14478
Loc: Canada
Well, try again with something a little more drastic:

cat /dev/zero >/dev/hda3

(it will eventually fail with "access beyond end of device" or some such dribble, but it should NOT fail with the same error you've been getting thus far).

Top
#257409 - 08/06/2005 01:27 Re: "HDA: Disk Error: Return_Intr" Message question [Re: mlord]
GeorgeU
new poster

Registered: 13/04/2005
Posts: 25
Thanks Mark, you're amazing! It Worked! What does that last command actually do, if I might ask, for future refernce?

Top
#257410 - 08/06/2005 01:59 Re: "HDA: Disk Error: Return_Intr" Message question [Re: GeorgeU]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
Fills hard disk partition "hda3" with zeroes, if I understand correctly...
_________________________
Tony Fabris

Top
#257411 - 08/06/2005 05:03 Re: "HDA: Disk Error: Return_Intr" Message question [Re: tfabris]
GeorgeU
new poster

Registered: 13/04/2005
Posts: 25
Thankyou Tony. However, I don't understand how that fixed the issue. (I am in IT 2nd / 3rd level support with a large international company, so I have a good technical background but in Windows, not Linux) Maybe I don't understand the actual nature of the error in the first place?

Top
#257412 - 08/06/2005 05:23 Re: "HDA: Disk Error: Return_Intr" Message question [Re: GeorgeU]
bonzi
pooh-bah

Registered: 13/09/1999
Posts: 2401
Loc: Croatia
If I understand correctly, the idea was to trigger bad sector remapping mechanism done by disk firmware, but only on writes. Of course, old data is lost and this only works thanks for the fact that the partition in case holds data that the player software replaces dynamically.
_________________________
Dragi "Bonzi" Raos Q#5196 MkII #080000376, 18GB green MkIIa #040103247, 60GB blue

Top
#257413 - 08/06/2005 06:52 Re: "HDA: Disk Error: Return_Intr" Message question [Re: bonzi]
Shonky
pooh-bah

Registered: 12/01/2002
Posts: 2009
Loc: Brisbane, Australia
The first one only erased the first 512 bytes. The second command erased the entire (EDIT) partition.

Yes the intention was to let the drive automatically map out the bad sectors which only occurs when the device is written to.


Edited by Shonky (08/06/2005 06:53)
_________________________
Christian
#40104192 120Gb (no longer in my E36 M3, won't fit the E46 M3)

Top
#257414 - 08/06/2005 11:59 Re: "HDA: Disk Error: Return_Intr" Message question [Re: GeorgeU]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14478
Loc: Canada
Like the others said, it forced the drive to rewrite the track containing the bad sector, at which time the drive itself either repairs the bad bits or remaps the sector/track to a factory "spare" designated for such purposes.

Sometimes writing only the reported bad sector won't work -- as in the first attempt here. The reason for that is that drives don't actually work on a per-sector basis anymore, and so writing the entire "track" is required to "fix" it. But nobody other than the drive itself knows what a "track" is, so the second command I gave you simply nukes the entire partition, hoping that this will include enough of the physical "track" to get the job done.

In the course of this, you will have lost your radio presets, equalizer settings, and per-track sound profiling data that the player automatically builds up. All of that stuff was on /dev/hda3 somewhere. No biggie, but a minor nuisance for some.

Cheers

Top
#257415 - 09/06/2005 00:22 Re: "HDA: Disk Error: Return_Intr" Message question [Re: mlord]
GeorgeU
new poster

Registered: 13/04/2005
Posts: 25
Thanks to all of you, that does explain it very clearly. My sincerest thanks to Mark in particular for sorting this out for me. I have made a note of this for future reference should I ever need it again.

Top
#257416 - 09/06/2005 21:27 Re: "HDA: Disk Error: Return_Intr" Message question [Re: GeorgeU]
schofiel
carpal tunnel

Registered: 25/06/1999
Posts: 2993
Loc: Wareham, Dorset, UK
Should go into the FAQ, or be made sticky here.
_________________________
One of the few remaining Mk1 owners... #00015

Top
#257417 - 10/06/2005 11:29 Re: "HDA: Disk Error: Return_Intr" Message question [Re: schofiel]
Shonky
pooh-bah

Registered: 12/01/2002
Posts: 2009
Loc: Brisbane, Australia
Can I just make the request it goes in the FAQ if anywhere? After a while too many sticky posts just get annoying. Particularly on forums where the first half of the first page of posts are sticky.

Even the first few here annoy me a bit when I'm looking for new threads/posts.
_________________________
Christian
#40104192 120Gb (no longer in my E36 M3, won't fit the E46 M3)

Top
#257418 - 10/06/2005 13:24 Re: "HDA: Disk Error: Return_Intr" Message question [Re: Shonky]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
I'm confused. Exactly what do you want in the FAQ?
_________________________
Tony Fabris

Top
#257419 - 10/06/2005 14:58 Re: "HDA: Disk Error: Return_Intr" Message question [Re: tfabris]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5680
Loc: London, UK
Quote:
I'm confused. Exactly what do you want in the FAQ?


Presumably: the blurb about how disks do the bad sector/track remapping, the command to do it, and the caveats.
_________________________
-- roger

Top
#257420 - 10/06/2005 16:17 Re: "HDA: Disk Error: Return_Intr" Message question [Re: Roger]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
Quote:
the blurb about how disks do the bad sector/track remapping, the command to do it, and the caveats.

Hm. I've got a philosophical issue there. To wit: If a hard disk ever needs to have its bad sectors remapped, it's time to get a new hard disk. Bad sectors have, in my experience, always precipitated a full failure of the disk. I hesitate to put that in the FAQ because I'd hate for people to try it, giving them a false sense of security.
_________________________
Tony Fabris

Top
#257421 - 10/06/2005 16:31 Re: "HDA: Disk Error: Return_Intr" Message question [Re: tfabris]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5680
Loc: London, UK
Quote:
precipitated


"You keep using that word. I do not think it means what you think it means"

ObLink
_________________________
-- roger

Top
#257422 - 10/06/2005 17:01 Re: "HDA: Disk Error: Return_Intr" Message question [Re: Roger]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
It does work so well connotatively, though. The implication that it acts as the first drop of rain warning of a coming storm is compelling, especially since several definitions come so close to what he means, even if none of them really quite backs it up.

Maybe now with this "perpendicular storage", the definition meaning "to fall headlong" will come into use.
_________________________
Bitt Faulk

Top
#257423 - 10/06/2005 18:34 Re: "HDA: Disk Error: Return_Intr" Message question [Re: tfabris]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14478
Loc: Canada
Naw, Most drives now have bad ( and remapped ) sectors from the factory, and they then last for years.

The only way to know for sure about impending drive failures is to watch the S.M.A.R.T. data from smartctl.

Cheers

Top
#257424 - 10/06/2005 21:14 Re: "HDA: Disk Error: Return_Intr" Message question [Re: Roger]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
Quote:
"You keep using that word. I do not think it means what you think it means"

Funny, you're right, precipitate does mean "cause" rather than "precede". Thing is, I've heard it used by others as a synonym for "preceded" so often that I assumed it meant that.

Presage sounds too rare and fancy a word to use, and precede isn't strong enough because it doesn't necessarily indicate a connection. Any other words I could have used in that situation?
_________________________
Tony Fabris

Top
#257425 - 10/06/2005 21:17 Re: "HDA: Disk Error: Return_Intr" Message question [Re: mlord]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
Quote:
Naw, Most drives now have bad ( and remapped ) sectors from the factory, and they then last for years.

Sure, from the factory, where it indicates known defects on the platter at manufacturing time. New bad sectors that develop during usage are what scare me.
_________________________
Tony Fabris

Top
#257426 - 10/06/2005 21:22 Re: "HDA: Disk Error: Return_Intr" Message question [Re: mlord]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
Oh... and...

Quote:
The only way to know for sure about impending drive failures is to watch the S.M.A.R.T. data from smartctl.

Wouldn't new bad sectors suddenly appearing on the disk trigger SMART errors anyway?
_________________________
Tony Fabris

Top
#257427 - 10/06/2005 21:26 Re: "HDA: Disk Error: Return_Intr" Message question [Re: tfabris]
tman
carpal tunnel

Registered: 24/12/2001
Posts: 5528
Quote:
Quote:
Naw, Most drives now have bad ( and remapped ) sectors from the factory, and they then last for years.

Sure, from the factory, where it indicates known defects on the platter at manufacturing time. New bad sectors that develop during usage are what scare me.

Ditto. If I get any new bad sectors formed then I junk the drive. Storage is relatively cheap these days so it's feasible to do.

Top
#257428 - 11/06/2005 11:12 Re: "HDA: Disk Error: Return_Intr" Message question [Re: tfabris]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14478
Loc: Canada
S.M.A.R.T. monitors a hell of a lot more than simply a count of bad sectors, Tony.

Cheers

Top
#257429 - 11/06/2005 11:41 Re: "HDA: Disk Error: Return_Intr" Message question [Re: mlord]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Yeah, but his point is that you're saying that SMART is the only indicator of a failing drive, but if bad sectors trigger SMART to say that the drive is failing, then the bad sectors themselves indicate a failing drive, regardless of other indicators. I don't think that's 100% accurate, but that's what he's saying.
_________________________
Bitt Faulk

Top
#257430 - 11/06/2005 11:49 Re: "HDA: Disk Error: Return_Intr" Message question [Re: mlord]
tman
carpal tunnel

Registered: 24/12/2001
Posts: 5528
Quote:
The only way to know for sure about impending drive failures is to watch the S.M.A.R.T. data from smartctl.

I've had several Maxtor drives just fall over and die even when SMART thinks everything is okay. None of the thresholds had been reached and the worst values were still high. In fact I've never had any advanced warning through SMART. The one time it actually passed one of the thresholds, the drive was already dead.

Top
#257431 - 11/06/2005 14:00 Re: "HDA: Disk Error: Return_Intr" Message question [Re: mlord]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
Quote:
S.M.A.R.T. monitors a hell of a lot more than simply a count of bad sectors, Tony.

Very true. And I agree that the SMART data is the best way to get an indication of a failing drive, when possible.
_________________________
Tony Fabris

Top
#257432 - 11/06/2005 16:45 Re: "HDA: Disk Error: Return_Intr" Message question [Re: tman]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14478
Loc: Canada
Quote:
Quote:
The only way to know for sure about impending drive failures is to watch the S.M.A.R.T. data from smartctl.

I've had several Maxtor drives just fall over and die even when SMART thinks everything is okay.


There is nothing contradictory between those two statements.

Drives can (and do and have) suddenly stop working without any signs of "impending failure", and there's really nothing anyone (other than the manufacturer) can do about it.

Recent example being all of those flawed chips that circulated in laptop (and some desktop) drives from (I think) 2001 - 2003 or so. Just a bad batch of chips that would internally fail at some random point early in their intended lifespan. Really bit IBM quite hard, as well as some other makers.

Most recently here, I have had a nice huge 300GB Maxtor drive develop a few bad sectors. Did I toss it? Of course not, but I did run a full S.M.A.R.T. "long" test (sector scan) on it after repairing the bad sectors. The drive is fine now.

In this case, the real culprit was the USB2 enclosure it was in, which seemed to be developing some kind of issues whereby it was randomly reseting the drive mid-use, which can corrupt sectors when done in the middle of a write operation. So I've tossed the $50 enclosure in favour of a new one, and kept the rather expensive (for its time) drive.

On the other hand, I once had a 80GB notebook drive here that developed bad sectors. After repairing them, it was put back into (less critical) use, and developed more bad sectors. So I belatedly checked out the S.M.A.R.T. stuff and discovered the drive even "knew" it wasn't healthy, and it then got sent off for replacement under warranty. The one they sent back in return is still working fine.

Cheers


Edited by mlord (11/06/2005 16:49)

Top
#257433 - 02/08/2005 03:09 Re: "HDA: Disk Error: Return_Intr" Message question [Re: mlord]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
Hey, Mark...

If you had a bad sector in the section that stored the current playlist order on the scratch partition, what would the command be to zero THAT out?

For instance, this command...

dd if=/dev/zero bs=512 seek=4096 count=28672 of=/dev/hda3

... zeroes out the statistics. What would zero out the stored playlists without erasing the EQ data?

I have a bad sector on the scratch partition where the current playlist order is stored. I am planning to get a new drive once I get settled in a new address. But for now I want to force it to map out the bad sectors in that section while I wait.

(I know, I argued specifically against this earlier in this very thread. I swear: If this works for me and the drive doesn't go completely south because of it, I will FAQ this.)
_________________________
Tony Fabris

Top
#257434 - 02/08/2005 08:44 Re: "HDA: Disk Error: Return_Intr" Message question [Re: tfabris]
peter
carpal tunnel

Registered: 13/07/2000
Posts: 4172
Loc: Cambridge, England
Quote:
If you had a bad sector in the section that stored the current playlist order on the scratch partition, what would the command be to zero THAT out?

Down-down-down. You don't specifically care about the zeroes, you just care that it gets written. Selecting a new playlist will write all the sectors you care about. If selecting a new playlist doesn't clear the error, your disk must have run out of replacement sectors in that zone (or there's something else going terribly wrong), and writing zeroes instead won't help.

Peter

Top
#257435 - 02/08/2005 12:44 Re: "HDA: Disk Error: Return_Intr" Message question [Re: peter]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
Damn.

Looks like I need to spend the cash on the new hard disk, then.
_________________________
Tony Fabris

Top
#257436 - 08/08/2005 00:44 Re: "HDA: Disk Error: Return_Intr" Message question [Re: tfabris]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14478
Loc: Canada
try zeroing the partition first. The player code does single sector I/O usually on the scratch partition, and that isn't good enough since the drive itself only reads/writes tracks.

Cheers

Top
#257437 - 08/08/2005 05:55 Re: "HDA: Disk Error: Return_Intr" Message question [Re: mlord]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
Okay, I'll give it a shot while I wait for the new drive to arrive. It means losing my EQ settings, but I can write those down.

If I recall, what I lose by zeroing the whole partition is:

- EQ settings
- Play counts, track overviews, and other per-track statistics
- The current running order/playlist (this is the thing that's not getting saved properly so it's already gone)

Anything else?
_________________________
Tony Fabris

Top
#257438 - 08/08/2005 05:57 Re: "HDA: Disk Error: Return_Intr" Message question [Re: tfabris]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
Again, my own FAQ answers me:

Tuner presets and bookmarks. I'm moving to Seattle so tuner presets I was gonna change anyhoo. And I don't have any bookmarks I'm worried about.

Okay, gonna try it.
_________________________
Tony Fabris

Top
#257439 - 08/08/2005 06:33 Re: "HDA: Disk Error: Return_Intr" Message question [Re: tfabris]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
Okay, it worked. Hm.

Before I FAQ this as I promised, I'll need to run all those SMART tests on the player to be sure the hard disk is in working order.

Incidentally, what indicated a disk problem to me was Hijack telling me "HDA: LOST INTERRUPT" each time I selected a down-down-down shuffle, and subsequent not-remembering-that-playlist-across-reboots. Selecting a smaller playlist would sometimes work without giving me the error and would be fine across reboots. I determined: Bad sector somewhere in the dynamic data partition. Not cable/header trouble because it had no problem reading the song files and playing them back. I reseated the cable, double checked its crimping, double checked the header, and switched the connector anyway to be sure, but no change.

But since it let me zero-out HDA3 without giving me any errors (either on the screen or in the console) and the player seems (cross fingers) to be working perfectly now, then should I assume that the disk is really fine at the hardware level and there was something ELSE wrong I'm not understanding?

Would something like a power failure or a software glitch that causes a reboot, during a dynamic-data-write, cause this kind of error?
_________________________
Tony Fabris

Top
#257440 - 08/08/2005 06:36 Re: "HDA: Disk Error: Return_Intr" Message question [Re: tfabris]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
And by the way, Mark...

THANK YOU for all your incredible expertise on this topic. We are truly fortunate to have the "Linux IDE Guy" around helping us all out. You are, and always have been, The Man.
_________________________
Tony Fabris

Top
#257441 - 08/08/2005 09:32 Re: "HDA: Disk Error: Return_Intr" Message question [Re: mlord]
peter
carpal tunnel

Registered: 13/07/2000
Posts: 4172
Loc: Cambridge, England
Quote:
try zeroing the partition first. The player code does single sector I/O usually on the scratch partition, and that isn't good enough since the drive itself only reads/writes tracks.

Ah, good point. FWIW, to zero the saved playlist and the bookmarks, without touching the tuner or EQ settings, or the per-track dynamic data, you need the command dd if=/dev/zero of=/dev/hda3 bs=512 count=2048; if you've done the new set-max-fid hack, you'll also need dd if=/dev/zero of=/dev/hda3 bs=512 seek=2176 count=1920.

Peter

Top
#257442 - 08/08/2005 09:48 Re: "HDA: Disk Error: Return_Intr" Message question [Re: peter]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14478
Loc: Canada
Thanks for figuring out those offsets, Peter. I had just returned from a long (11 hours, 10 caches, 1035KM) drive, and my paltry reasoning skills were not functioning yet (and still probably aren't!).

Tony.. as you noted, you still oughta try a S.M.A.R.T. "long" test on it. It might really be bad still, but what you have done often recovers things nicely.

cheers

Top
#257443 - 08/08/2005 13:00 Re: "HDA: Disk Error: Return_Intr" Message question [Re: mlord]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
Thanks, I'm curious if the problem could possibly be all-software. I figured the errors I was getting were only possible as hardware errors.
_________________________
Tony Fabris

Top
#257444 - 08/08/2005 13:14 Re: "HDA: Disk Error: Return_Intr" Message question [Re: tfabris]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
Oh, and thanks, Peter and Mark, for those command lines. I updated the faq entry on clearing the dynamic data with those.

I'm still reserving judgement about a new FAQ on using the zero-out command as a workaround for bad sectors. Haven't gotten to the SMART tests yet. Still in a transitionary phase in my relocation and don't have time to run the tests just now.
_________________________
Tony Fabris

Top
#257445 - 08/08/2005 16:07 Re: "HDA: Disk Error: Return_Intr" Message question [Re: tfabris]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14478
Loc: Canada
Quote:
Thanks, I'm curious if the problem could possibly be all-software.


Not a chance.

Top
#257446 - 08/08/2005 20:52 Re: "HDA: Disk Error: Return_Intr" Message question [Re: mlord]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
Well, then I'm not so embarrassed for buying the new hard disk, then.
_________________________
Tony Fabris

Top
#257447 - 09/08/2005 08:00 Re: "HDA: Disk Error: Return_Intr" Message question [Re: tfabris]
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
Well, as long as the new hard drive has a larger capacity, you can always say you were upgrading...
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#257448 - 11/08/2005 04:59 Re: "HDA: Disk Error: Return_Intr" Message question [Re: tfabris]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
Quote:
Haven't gotten to the SMART tests yet.

Okay, got around to the SMART tests. I don't know how to decipher the results. They indicate errors, but I'm not sure if the errors are serious. The log file is attached. Does anyone know how to tell if the errors are serious?


Attachments
262418-SerialLogofSMARTtests.txt (354 downloads)

_________________________
Tony Fabris

Top
#257449 - 11/08/2005 11:47 Re: "HDA: Disk Error: Return_Intr" Message question [Re: tfabris]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14478
Loc: Canada
The logs retain error info long after errors are repaired. The report you posted shows old information.

It also shows you launching a "long" selftest, but I don't see the results of that test afterwards.. did you wait an hour and then redo the "smartctl -l selftest" command? I see one instance of that right after issuing the "-t long" command, but it doesn't show the results of the "-t long", which means the selftest was still happening (or the unit got powered off or something before it completed).

The selftest commands ("-t long") execute *in the background*, and take a while to complete.

Cheers

Top
#257450 - 11/08/2005 12:48 Re: "HDA: Disk Error: Return_Intr" Message question [Re: mlord]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
Damn. I thought I'd waited the 55 minutes it told me to wait.

Guess I'll do it over again.
_________________________
Tony Fabris

Top
Page 1 of 2 1 2 >